//Javascript for photo.php